nlp_architect.contrib.tensorflow.python.keras.utils.layer_utils.save_model

nlp_architect.contrib.tensorflow.python.keras.utils.layer_utils.save_model(model: tensorflow.python.keras.engine.training.Model, topology: dict, filepath: str) → None[source]

Save a model to a file (tf.keras models only) The method save the model topology, as given as a :param model: model object :param topology: a dictionary of topology elements and their values :type topology: dict :param filepath: path to save model :type filepath: str